package com.javasvip.web.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(value = "lagou-cloud-gateway", fallback = UserFallback.class, path = "/user")
public interface UserService {


    /**
     * 登录
     *
     * @param email
     * @param password
     * @return
     */
    @GetMapping("/login/{email}/{password}")
    public Object findDefaultResumeState(@PathVariable String email, @PathVariable String password);

}
